package com.example.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 购物车(StoreShoppingCart)实体类
 *
 * @author makejava
 * @since 2024-03-12 16:52:06
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StoreShoppingCart implements Serializable {
    private static final long serialVersionUID = -92462787723965366L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 图片
     */
    private String image;
    /**
     * 主键
     */
    private Long userId;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 数量
     */
    private Integer number;
    /**
     * 金额
     */
    private Double amount;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private Long storeId;


}

